package com.das.mechanic_base.utils;

import android.text.Editable;
import android.text.TextWatcher;

public abstract class X3EdittextWatcher implements TextWatcher {

    @Override
    public void beforeTextChanged(CharSequence charSequence, int i, int i1, int i2) {

    }

    @Override
    public void onTextChanged(CharSequence charSequence, int i, int i1, int i2) {

    }

    @Override
    public void afterTextChanged(Editable editable) {
        textInputAfter(editable.toString());
    }

    protected abstract void textInputAfter(String content);
}
